package red.book._1._2;

import edu.princeton.cs.algs4.StdOut;
import edu.princeton.cs.algs4.StdRandom;

public class TestAccumulator {
	
	@SuppressWarnings("deprecation")
	public static void main(String[] args) {
		
		int T = 1000;
		Accumulator a = new Accumulator();
		for (int t = 0; t < T; t++)
			a.addDataValue(StdRandom.random());
		StdOut.println(a);
	}
}
